package com.zcf.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhaoQi
 * @since 2019-07-08
 */
public class Perspective extends Model<Perspective> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 牛牛
     */
    @TableField("gameN")
    private Integer gameN;
    /**
     * 扎金花
     */
    @TableField("gameZ")
    private Integer gameZ;
    @TableField("createTime")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGameN() {
        return gameN;
    }

    public void setGameN(Integer gameN) {
        this.gameN = gameN;
    }

    public Integer getGameZ() {
        return gameZ;
    }

    public void setGameZ(Integer gameZ) {
        this.gameZ = gameZ;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Perspective{" +
        "id=" + id +
        ", userid=" + userid +
        ", gameN=" + gameN +
        ", gameZ=" + gameZ +
        ", createTime=" + createTime +
        "}";
    }
}
